package org.example.cmsvue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * <p>
 * 
 * </p>
 *
 * @author laifeng
 * @since 2025-02-19
 */
@Getter
@Setter
@ToString
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String name;

    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 密码
     */
    private String password;

    /**
     * 手机号
     */
    private String cellphone;

    /**
     * 部门ID
     */
    private Integer departmentId;

    /**
     * 角色ID
     */
    private Integer roleId;

    /**
     * 状态 1-启用 0-禁用
     */
    private Byte status;

    private LocalDateTime createAt;

    private LocalDateTime updateAt;
}
